STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
default_delete< _Ty[]> Struct Template Reference

Public Member Functions

constexpr default_delete () _NOEXCEPT=default
 
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
 default_delete (const default_delete< _Uty[]> &) _NOEXCEPT
 
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
void operator() (_Uty *_Ptr) const _NOEXCEPT
 

Constructor & Destructor Documentation

template<class _Ty >
constexpr default_delete< _Ty[]>::default_delete ( )
default
template<class _Ty >
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
default_delete< _Ty[]>::default_delete ( const default_delete< _Uty[]> &  )
inline
1208  { // construct from another default_delete
1209  }

Member Function Documentation

template<class _Ty >
template<class _Uty , class = typename enable_if<is_convertible<_Uty(*)[], _Ty(*)[]>::value, void>::type>
void default_delete< _Ty[]>::operator() ( _Uty *  _Ptr) const
inline
1215  { // delete a pointer
1216  static_assert(0 < sizeof (_Uty),
1217  "can't delete an incomplete type");
1218  delete[] _Ptr;
1219  }

The documentation for this struct was generated from the following file: